package com.donfu.system.domain.house;

import java.util.Date;

import com.donfu.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.donfu.common.annotation.Excel;

/**
 * 用户信息对象 house_user
 * 
 * @author donfu
 * @date 2021-12-01
 */
public class HouseUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long id;

    /** 微信头像 */
    @Excel(name = "微信头像")
    private String wxHeadUrl;

    /** 微信昵称 */
    @Excel(name = "微信昵称")
    private String wxNickName;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 性别：0 未知， 1男， 1 女 */
    @Excel(name = "性别：0 未知， 1男， 1 女")
    private Integer sex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 星座 */
    @Excel(name = "星座")
    private String constellation;

    /** 行政区域表的省ID */
    @Excel(name = "行政区域表的省ID")
    private String province;

    /** 行政区域表的市ID */
    @Excel(name = "行政区域表的市ID")
    private String city;

    /** 行政区域表的区县ID */
    @Excel(name = "行政区域表的区县ID")
    private String county;

    /** 职业 */
    @Excel(name = "职业")
    private String professional;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 微信登录openid */
    @Excel(name = "微信登录openid")
    private String weixinOpenid;

    /** 微信登录会话KEY */
    @Excel(name = "微信登录会话KEY")
    private String sessionKey;

    /** 邀请人openid */
    @Excel(name = "邀请人openid")
    private String inviterOpenid;

    /** 0 可用, 1 禁用, 2 注销 */
    @Excel(name = "0 可用, 1 禁用, 2 注销")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String standby;

    /** 角色 */
    @JsonFormat(pattern = "角色 默认为0 普通用户 1 超级会员")
    @Excel(name = "角色")
    private Integer role;

    public void setRole(Integer role) {
        this.role = role;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxHeadUrl(String wxHeadUrl) 
    {
        this.wxHeadUrl = wxHeadUrl;
    }

    public String getWxHeadUrl() 
    {
        return wxHeadUrl;
    }
    public void setWxNickName(String wxNickName) 
    {
        this.wxNickName = wxNickName;
    }

    public String getWxNickName() 
    {
        return wxNickName;
    }
    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setConstellation(String constellation) 
    {
        this.constellation = constellation;
    }

    public String getConstellation() 
    {
        return constellation;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setProfessional(String professional) 
    {
        this.professional = professional;
    }

    public String getProfessional() 
    {
        return professional;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setWeixinOpenid(String weixinOpenid) 
    {
        this.weixinOpenid = weixinOpenid;
    }

    public String getWeixinOpenid() 
    {
        return weixinOpenid;
    }
    public void setSessionKey(String sessionKey) 
    {
        this.sessionKey = sessionKey;
    }

    public String getSessionKey() 
    {
        return sessionKey;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setStandby(String standby) 
    {
        this.standby = standby;
    }

    public String getStandby() 
    {
        return standby;
    }
    public Integer getRole()
    {
        return role;
    }

    public String getInviterOpenid() {
        return inviterOpenid;
    }

    public void setInviterOpenid(String inviterOpenid) {
        this.inviterOpenid = inviterOpenid;
    }

    @Override
    public String toString() {
        return "HouseUser{" +
                "id=" + id +
                ", wxHeadUrl='" + wxHeadUrl + '\'' +
                ", wxNickName='" + wxNickName + '\'' +
                ", realName='" + realName + '\'' +
                ", sex=" + sex +
                ", birthday=" + birthday +
                ", constellation='" + constellation + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", professional='" + professional + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", weixinOpenid='" + weixinOpenid + '\'' +
                ", sessionKey='" + sessionKey + '\'' +
                ", inviterOpenid='" + inviterOpenid + '\'' +
                ", status=" + status +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", standby='" + standby + '\'' +
                ", role=" + role +
                '}';
    }
}
